package hcn.protocol.ods.inpatient;

import lombok.ToString;

import javax.xml.bind.annotation.*;
import java.util.List;


/**
 * @author Qulc - 2023/2/1 14:45
 * 床位查询病区详情出参
 */
@ToString
@XmlRootElement(name = "Data")
public class BedInfoDetailsHisResponse {

    private List<BedInfo> BedInfo;

    @XmlElementWrapper(name = "BedInfos")
    @XmlElement(name = "BedInfo")
    public List<BedInfo> getBedInfo() {
        return BedInfo;
    }

    public void setBedInfo(List<BedInfo> bedInfo) {
        BedInfo = bedInfo;
    }

    @ToString
    public static class BedInfo {
        private String VisitOrganization; //医院ID，医院系统身份标识
        private String VisitOrganizationName;//医院名称
        private String WardAreaCode;//病区代码
        private String WardAreaName;//病区名称
        private String EmptyBedNumber;//空床总数
        private String TotalBedNumber;//总床数
        private String SourcePatientId;//患者在医院的唯一识别号

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        @XmlElement(name = "VisitOrganizationName")
        public String getVisitOrganizationName() {
            return VisitOrganizationName;
        }

        public void setVisitOrganizationName(String visitOrganizationName) {
            VisitOrganizationName = visitOrganizationName;
        }

        @XmlElement(name = "WardAreaCode")
        public String getWardAreaCode() {
            return WardAreaCode;
        }

        public void setWardAreaCode(String wardAreaCode) {
            WardAreaCode = wardAreaCode;
        }

        @XmlElement(name = "WardAreaName")
        public String getWardAreaName() {
            return WardAreaName;
        }

        public void setWardAreaName(String wardAreaName) {
            WardAreaName = wardAreaName;
        }

        @XmlElement(name = "EmptyBedNumber")
        public String getEmptyBedNumber() {
            return EmptyBedNumber;
        }

        public void setEmptyBedNumber(String emptyBedNumber) {
            EmptyBedNumber = emptyBedNumber;
        }

        @XmlElement(name = "TotalBedNumber")
        public String getTotalBedNumber() {
            return TotalBedNumber;
        }

        public void setTotalBedNumber(String totalBedNumber) {
            TotalBedNumber = totalBedNumber;
        }

        @XmlElement(name = "SourcePatientId")
        public String getSourcePatientId() {
            return SourcePatientId;
        }

        public void setSourcePatientId(String sourcePatientId) {
            SourcePatientId = sourcePatientId;
        }

        /*根据机构Id和病区code查询详情列表*/
        private String SickbedId;//病床号
        private String WardAreaRoom;//房间号
        private String DeptName;//科室名称
        private String BedType;//床位类型
        private String Limit;//限制
        private String BedFee;//床位费
        private String DoctorName;//主治医师
        private String ResponsibleNurseCode;//责任护士编码
        private String ResponsibleNurseName;//责任护士
        private String HospizationId;//住院号码
        private String Name;//患者姓名
        private String ClinicalDischargeDate;//临床出院日期
        private String Statu;//床位状态

        @XmlElement(name = "SickbedId")
        public String getSickbedId() {
            return SickbedId;
        }

        public void setSickbedId(String sickbedId) {
            SickbedId = sickbedId;
        }

        @XmlElement(name = "WardAreaRoom")
        public String getWardAreaRoom() {
            return WardAreaRoom;
        }

        public void setWardAreaRoom(String wardAreaRoom) {
            WardAreaRoom = wardAreaRoom;
        }

        @XmlElement(name = "DeptName")
        public String getDeptName() {
            return DeptName;
        }

        public void setDeptName(String deptName) {
            DeptName = deptName;
        }

        @XmlElement(name = "BedType")
        public String getBedType() {
            return BedType;
        }

        public void setBedType(String bedType) {
            BedType = bedType;
        }

        @XmlElement(name = "Limit")
        public String getLimit() {
            return Limit;
        }

        public void setLimit(String limit) {
            Limit = limit;
        }

        @XmlElement(name = "BedFee")
        public String getBedFee() {
            return BedFee;
        }

        public void setBedFee(String bedFee) {
            BedFee = bedFee;
        }

        @XmlElement(name = "DoctorName")
        public String getDoctorName() {
            return DoctorName;
        }

        public void setDoctorName(String doctorName) {
            DoctorName = doctorName;
        }

        @XmlElement(name = "ResponsibleNurseCode")
        public String getResponsibleNurseCode() {
            return ResponsibleNurseCode;
        }

        public void setResponsibleNurseCode(String responsibleNurseCode) {
            ResponsibleNurseCode = responsibleNurseCode;
        }

        @XmlElement(name = "ResponsibleNurseName")
        public String getResponsibleNurseName() {
            return ResponsibleNurseName;
        }

        public void setResponsibleNurseName(String responsibleNurseName) {
            ResponsibleNurseName = responsibleNurseName;
        }

        @XmlElement(name = "HospizationId")
        public String getHospizationId() {
            return HospizationId;
        }

        public void setHospizationId(String HospizationId) {
            this.HospizationId = HospizationId;
        }

        @XmlElement(name = "Name")
        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        @XmlElement(name = "ClinicalDischargeDate")
        public String getClinicalDischargeDate() {
            return ClinicalDischargeDate;
        }

        public void setClinicalDischargeDate(String clinicalDischargeDate) {
            ClinicalDischargeDate = clinicalDischargeDate;
        }

        @XmlElement(name = "Statu")
        public String getStatu() {
            return Statu;
        }

        public void setStatu(String statu) {
            Statu = statu;
        }
    }
}




